package com.example.pt.dto;

import java.util.Date;

/**
 * 私信DTO
 */
public class PrivateMessageDTO {
    
    private Integer messageId;
    private Integer senderId;
    private Integer receiverId;
    private String content;
    private Date createTime;
    private Integer status;
    private String conversationId;
    
    // 发送者信息
    private String senderName;
    private String senderHeadshot;
    private Integer senderStatus; // 发送者状态
    
    // 接收者信息
    private String receiverName;
    private String receiverHeadshot;
    private Integer receiverStatus; // 接收者状态
    
    // 标记消息方向（对于当前用户）
    private boolean fromSelf;
    
    public Integer getMessageId() {
        return messageId;
    }
    
    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }
    
    public Integer getSenderId() {
        return senderId;
    }
    
    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }
    
    public Integer getReceiverId() {
        return receiverId;
    }
    
    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getConversationId() {
        return conversationId;
    }
    
    public void setConversationId(String conversationId) {
        this.conversationId = conversationId;
    }
    
    public String getSenderName() {
        return senderName;
    }
    
    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }
    
    public String getSenderHeadshot() {
        return senderHeadshot;
    }
    
    public void setSenderHeadshot(String senderHeadshot) {
        this.senderHeadshot = senderHeadshot;
    }
    
    public Integer getSenderStatus() {
        return senderStatus;
    }
    
    public void setSenderStatus(Integer senderStatus) {
        this.senderStatus = senderStatus;
    }
    
    public String getReceiverName() {
        return receiverName;
    }
    
    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }
    
    public String getReceiverHeadshot() {
        return receiverHeadshot;
    }
    
    public void setReceiverHeadshot(String receiverHeadshot) {
        this.receiverHeadshot = receiverHeadshot;
    }
    
    public Integer getReceiverStatus() {
        return receiverStatus;
    }
    
    public void setReceiverStatus(Integer receiverStatus) {
        this.receiverStatus = receiverStatus;
    }
    
    public boolean isFromSelf() {
        return fromSelf;
    }
    
    public void setFromSelf(boolean fromSelf) {
        this.fromSelf = fromSelf;
    }
} 